package com.cip.master.dao;

import java.util.List;

import com.cip.admin.model.User;
import com.cip.master.model.Blog;
import com.cip.master.model.Comments;

public interface BlogDAO {
	List<Blog> getMyBlogsById(int id) throws Exception;
	
	List<Blog> getOthersBlogList(int id) throws Exception;
	
	Blog saveOrUpdateBlog(Blog blog) throws Exception;
	
	Blog getBlogDetails(int id) throws Exception;
	
	List<Comments> getCommentsByBlogId(int blogId) throws Exception;
	
	Comments saveOrUpdateComment(Comments comments) throws Exception;
}
